/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const statisticRouter = {
    path: '/statistic',
    component: Layout,
    redirect: 'noredirect',
    name: 'Statistic',
    meta: {
        title: 'statistic',
        icon: 'component',
        guid: '14a7a2d6-1e4b-11ef-a12f-00163e0acd8d',
        roles: ['admin']
    },
    children: [{
        path: 'scriptstat',
        component: () =>
            import ('@/views/statisticSystem/scriptStat'),
        name: 'scriptstat',
        meta: {
            title: '脚本使用统计',
            icon: 'component',
            guid: 'a174828f-8494-4cd6-b635-b3ffee7be091',
            roles: ['admin']
        }
    }, {
        path: 'activitylevel',
        component: () =>
            import ('@/views/statisticSystem/activitylevel'),
        name: 'activitylevel',
        meta: {
            title: '活跃度',
            icon: 'component',
            guid: 'c4090dab-27c3-11ef-8d3a-00163e1742fd',
            roles: ['admin']
        }
    }, {
        path: 'survey',
        component: () =>
            import ('@/views/statisticSystem/survey'),
        name: 'StatisticSurvey',
        meta: {
            title: 'statisticSurvey',
            icon: 'component',
            guid: '1aa9d652-1e4b-11ef-a12f-00163e0acd8d',
            roles: ['admin']
        }
    }, {
        path: 'device',
        component: () =>
            import ('@/views/statisticSystem/device'),
        name: 'StatisticDevice',
        meta: {
            title: 'statisticDevice',
            icon: 'component',
            guid: '1e9282e3-1e4b-11ef-a12f-00163e0acd8d',
            roles: ['admin']
        }
    }]
}

export default statisticRouter